#!/bin/bash

echo "=== 部署服务调配中心数据即视功能开发项目到 CloudStudio ==="

# 构建后端
echo "构建后端项目..."
cd backend
mvn clean package -DskipTests

# 安装前端依赖
echo "安装前端依赖..."
cd ../frontend
npm install

echo "=== 部署完成 ==="
echo "启动命令:"
echo "后端: cd backend && java -jar target/bi-platform-backend-1.0.0.jar"
echo "前端: cd frontend && npm run dev"